-- ------------------------------------------------------------------------
-- configuration
-- ------------------------------------------------------------------------

Leafed = { 
config =
{
	-- these are options you're likely to change
	-- turn features on by setting them to true, off by setting them to false
	integratePlayerBuffs = false, -- true if you want player buffs shown by the unit frames
	integratePlayerDebuffs = false, -- true if you want player debuffs shown by the unit frames
	integrateTargetBuffs = false, -- true if you want target buffs/debuffs shown by the unit frames
	filterTargetBuffs = true, -- true if you want only player-cast buffs shown on the target
	integrateCastBars = true, -- true if you want castbars in the frames, false if you're using another mod
	show3DPortraits = true, -- true if you want larger frames to show 3d unit portraits
	useClassColor = true, -- true if you want frames *without* portraits to show the class color
	scale = 1.0,

	-- end of options you're likely to change
},
constants = 
{	

	textures =
	{
		bar = "Interface\\AddOns\\oUF_Leafed\\media\\textures\\bar",
		glow = "Interface\\AddOns\\oUF_Leafed\\media\\textures\\border",
		highlight = "Interface\\Addons\\oUF_Leafed\\media\\textures\\highlight",
	},
	
	fonts =
	{
		base = "Interface\\AddOns\\oUF_Leafed\\media\\fonts\\russellsquarelt.ttf",
		basesize = 14,
		bigsize = 24,
	},
	
	spacing = 3, -- number of pixels between sub-items of a single frame
	gutter = 10, -- number of pixels between closely-grouped frames
	frameborder = 4, -- width of borders around frames
	border = 1, -- width of borders around sub-items
	portraitAlpha = .75, -- fade out the 3d portrait so it's not so visually busy
	barAlphaScale = 1.33, -- multiplier used to scale up bar alpha as values drop
	
	player_target = 
	{
		width = 225,
		height = 25,
		health = 21,
		power = 3,
		miscbars = 3,
		
		-- location
		x = -265, y = -200,
	},

	target_focus = 
	{
		-- Target & focus frames are identical to each other.
		width = 175,
		height = 25,
		health = 21,
		power = 3,
		miscbars = 3,
		
		-- location
		x = -265, y = -200,
	},

	pet_focus = 
	{
		-- Player pet, focus, & tot frames are identical to each other.
		width = 150,
		height = 25,
		power = 3,
		cast = 27,
		health = 27,
	},
	party = 
	{
		width = 150,
		height = 25,
		power = 3,
		cast = 22,
		health = 22,
	},
	targets =
	{
		-- also used for focus target
		width = 75,
		height = 25, -- TODO should just pick up height of whatever this is 
		health = 22, -- height of health bar
		power = 3, -- height of power bar
	},
	partysubitem =
	{
		height = 25,
		width = 50,
	},
	generic =
	{
		-- raid frames, probably
		height = 28,
		width = 90,
		power = 3,
	},
	raid =
	{
		columns = 8,
		rowspacing = 14,
		colspacing = 14,
	},
},
}
